#include <iostream>
#include "status.h"
#include "List_l.h"
using namespace std;

void main()
{
	List_l<int> list;

	for (int i = 0; i < 10; i++)
	{
		list.ListInsert(list.ListLength(), i);
	}

	list.ListTraverse();

	cout << endl << "====" << endl << endl;
	int outData;
	list.ListDelete(2, outData);
	list.ListTraverse();
	cout << "out data : " << outData << endl;

	cout << endl << "====" << endl << endl;
	list.ListReverse();
	cout << "list reverse : " << endl << endl;
	list.ListTraverse();

	cin.get();
}